const isDev = process.env.NODE_ENV === 'development' ? true : false
const publishUrl = 'https://bkycms.com/addons/yb_wm/views/common/template/'
const backendPath = isDev
? publishUrl
: location.href.match(/(\S*)views/)[1] + 'views/common/template/'
module.exports =
{
    "body": {
        "list": [
            {
                "title": "固定定位",
                "name": "fixed",
                "styles": {
                    "module": "1",
                    "orPic": "1",
                    "isFloat": "1",
                    "marginTop": 0,
                    "marginBottom": 0,
                    "marginLeft": "0",
                    "marginRight": "0",
                    "percent": 80,
                    "colorBg": "#14967C",
                    "colorWord": "#343434",
                    "circle": "0",
                    "imgUrl": [
                        {
                            "url": "",
                            "img": ""
                        }
                    ],
                    "upLoad1": {
                        "text": " ",
                        "img": backendPath+"style2/202011271009104323.png",
                        "url": ""
                    },
                    "upLoad2": {
                        "text": " ",
                        "img": backendPath+"style2/202011271012006460.png",
                        "url": ""
                    },
                    "floatUrl1": {
                        "text": "",
                        "img": "",
                        "url": ""
                    },
                    "floatUrl2": {
                        "text": "",
                        "img": "",
                        "url": ""
                    },
                    "marginLR": 0
                }
            },
            {
                "title": "搜索框",
                "name": "search",
                "styles": {
                    "colorInput": "#fff",
                    "colorWord": "#5B5858",
                    "colorBg": "#14967C",
                    "text": "猫山王榴莲",
                    "marginTop": 0,
                    "marginBottom": 0,
                    "marginLeft": "0",
                    "marginRight": "0",
                    "circle": 6,
                    "wordStatus": "left",
                    "marginLR": 3
                }
            },
            {
                "title": "热区",
                "name": "hot",
                "styles": {
                    "marginTop": 0,
                    "marginBottom": 0,
                    "marginLeft": 0,
                    "marginRight": 0,
                    "circle": 0,
                    "img": backendPath+"style2/202106221543462724.jpeg",
                    "divStyles": [
                        {
                            "width": "311.992",
                            "height": "355.996",
                            "sX": " 35",
                            "sY": " 776",
                            "status": true,
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"goods\",\"name\":\"点单页\"},\"category\":\"平台首页\"}",
                            "name": "点单页"
                        },
                        {
                            "width": "327.988",
                            "height": "150",
                            "sX": " 352",
                            "sY": " 783",
                            "status": true,
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"goods\",\"name\":\"点单页\"},\"category\":\"平台首页\"}",
                            "name": "点单页"
                        },
                        {
                            "width": "162.988",
                            "height": "163.984",
                            "sX": " 354",
                            "sY": " 961",
                            "status": true,
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"integralShop\",\"name\":\"积分商城\"},\"category\":\"平台首页\"}",
                            "name": "积分商城"
                        },
                        {
                            "width": "166.992",
                            "height": "155",
                            "sX": " 521",
                            "sY": " 961",
                            "status": true,
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"couponCenter\",\"name\":\"领券中心\"},\"category\":\"平台首页\"}",
                            "name": "领券中心"
                        },
                        {
                            "width": "160.996",
                            "height": "125",
                            "sX": " 14",
                            "sY": " 1162",
                            "status": true,
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"collectionCourtesy\",\"name\":\"收藏有礼\"},\"category\":\"平台首页\"}",
                            "name": "收藏有礼"
                        },
                        {
                            "width": "171.992",
                            "height": "117.988",
                            "sX": " 183",
                            "sY": " 1169",
                            "status": true,
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"couponCenter\",\"name\":\"领券中心\"},\"category\":\"平台首页\"}",
                            "name": "领券中心"
                        },
                        {
                            "width": "186.992",
                            "height": "122.988",
                            "sX": " 359",
                            "sY": " 1163",
                            "status": true,
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"signIndex\",\"name\":\"签到中心\"},\"category\":\"平台首页\"}",
                            "name": "签到中心"
                        },
                        {
                            "width": "170",
                            "height": "120.996",
                            "sX": " 558",
                            "sY": " 1164",
                            "status": true,
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"cardIndex\",\"name\":\"会员卡\"},\"category\":\"平台首页\"}",
                            "name": "会员卡"
                        }
                    ],
                    "marginLR": 0
                }
            },
            {
                "title": "图片轮播",
                "name": "picLunbo",
                "styles": {
                    "marginTop": 6,
                    "marginBottom": 0,
                    "marginLeft": 0,
                    "marginRight": 0,
                    "circle": 10,
                    "height": 195,
                    "imgUrl": [
                        {
                            "img": backendPath+"style2/202106221608404463.jpeg",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "balanceRecharge",
                                    "name": "充值中心"
                                },
                                "category": "平台首页"
                            }
                        },
                        {
                            "img": backendPath+"style2/202106221603088596.jpeg",
                            "url": {
                                "params": "productCategory",
                                "name": {
                                    "id": "32",
                                    "customName": "",
                                    "describe": "",
                                    "sort": "1",
                                    "name": "热带水果",
                                    "pid": "0",
                                    "icon": backendPath+"style2/202011271009104323.png",
                                    "display": "1",
                                    "startTime": "",
                                    "endTime": "",
                                    "weekStr": [],
                                    "isRequire": "2",
                                    "timeType": "1",
                                    "children": []
                                },
                                "category": "商品分类"
                            }
                        }
                    ],
                    "marginLR": 12
                }
            },
            {
                "title": "图片",
                "name": "pictures",
                "styles": {
                    "marginTop": 5,
                    "marginBottom": 0,
                    "marginLeft": 0,
                    "marginRight": 0,
                    "circle": 0,
                    "paddingTop": 10,
                    "height": 86,
                    "imgUrl": [
                        {
                            "img": backendPath+"style2/202106221603213300.png",
                            "url": ""
                        }
                    ],
                    "marginLR": 0
                }
            },
            {
                "title": "商品组",
                "name": "product",
                "styles": {
                    "type": "2",
                    "typeBg": "1",
                    "colorBg": "rgba(0, 0, 0, 0)",
                    "img": "",
                    "typeBtn": "3",
                    "typePay": "1",
                    "typeText": "推荐",
                    "colorBtn": "#14967C",
                    "colorProductBg": "#fff",
                    "colorTitle": "#212121",
                    "marginTop": 0,
                    "marginBottom": 0,
                    "marginLeft": 0,
                    "marginRight": 0,
                    "typeProduct": "1",
                    "productName": [
                        {
                            "params": "product",
                            "name": {
                                "discountOpen": "2",
                                "id": "33",
                                "name": "水晶梨子",
                                "icon": backendPath+"style2/202011271019207656.jpg",
                                "salesNum": "4",
                                "typePid": "35",
                                "typeId": null,
                                "price": "2.08",
                                "stock": "1107",
                                "isRecommend": "2",
                                "display": "1",
                                "maxPrice": null,
                                "isSpecs": "2",
                                "storeId": "7",
                                "isMain": 1,
                                "category_name": "桃梨柿子",
                                "media": null
                            },
                            "category": "商品"
                        },
                        {
                            "params": "product",
                            "name": {
                                "discountOpen": "2",
                                "id": "32",
                                "name": "海南香蕉",
                                "icon": backendPath+"style2/202011271018245145.jpg",
                                "salesNum": "2",
                                "typePid": "34",
                                "typeId": null,
                                "price": "2.80",
                                "stock": "109",
                                "isRecommend": "2",
                                "display": "1",
                                "maxPrice": null,
                                "isSpecs": "2",
                                "storeId": "7",
                                "isMain": 1,
                                "category_name": "苹果香蕉",
                                "media": null
                            },
                            "category": "商品"
                        },
                        {
                            "params": "product",
                            "name": {
                                "discountOpen": "2",
                                "id": "30",
                                "name": "台湾凤梨",
                                "icon": backendPath+"style2/202011271014576973.jpg",
                                "salesNum": 0,
                                "typePid": "32",
                                "typeId": null,
                                "price": "16.80",
                                "stock": "1000",
                                "isRecommend": "2",
                                "display": "1",
                                "maxPrice": null,
                                "isSpecs": "2",
                                "storeId": "7",
                                "isMain": 1,
                                "category_name": "热带水果",
                                "media": null
                            },
                            "category": "商品"
                        },
                        {
                            "params": "product",
                            "name": {
                                "discountOpen": "2",
                                "id": "29",
                                "name": "散称苹果",
                                "icon": backendPath+"style2/202011271013334683.jpg",
                                "salesNum": "4",
                                "typePid": "31",
                                "typeId": null,
                                "price": "5.00",
                                "stock": "996",
                                "isRecommend": "2",
                                "display": "1",
                                "maxPrice": null,
                                "isSpecs": "2",
                                "storeId": "7",
                                "isMain": 1,
                                "category_name": "散称精品水果",
                                "media": null
                            },
                            "category": "商品"
                        },
                        {
                            "params": "product",
                            "name": {
                                "discountOpen": "2",
                                "id": "28",
                                "name": "柠檬",
                                "icon": backendPath+"style2/202011271015141158.jpg",
                                "salesNum": "3",
                                "typePid": "30",
                                "typeId": null,
                                "price": "15.00",
                                "stock": "1108",
                                "isRecommend": "2",
                                "display": "1",
                                "maxPrice": null,
                                "isSpecs": "2",
                                "storeId": "7",
                                "isMain": 1,
                                "category_name": "柑橘橙柚柠檬",
                                "media": null
                            },
                            "category": "商品"
                        },
                        {
                            "params": "product",
                            "name": {
                                "discountOpen": "2",
                                "id": "34",
                                "name": "精品柿子",
                                "icon": backendPath+"style2/202011271020122895.jpg",
                                "salesNum": "11",
                                "typePid": "35",
                                "typeId": null,
                                "price": "21.00",
                                "stock": "100",
                                "isRecommend": "2",
                                "display": "1",
                                "maxPrice": null,
                                "isSpecs": "2",
                                "storeId": "7",
                                "isMain": 1,
                                "category_name": "桃梨柿子",
                                "media": null
                            },
                            "category": "商品"
                        }
                    ],
                    "productGroup": [],
                    "productMarket": "-1",
                    "productNum": 20,
                    "marginLR": 3,
                    "circle": 3
                }
            },
            {
                "title": "我的余额",
                "name": "myBalance",
                "styles": {
                    "marginTop": 0,
                    "marginBottom": 5,
                    "marginLeft": 0,
                    "marginRight": 0,
                    "circle": 6,
                    "colorBg": "#fff",
                    "upLoad1": {
                        "text": "查看我的会员权益"
                    },
                    "marginLR": 10
                }
            }
        ],
        "pageSetting": [
            {
                "title": "页面设置",
                "name": "nameless",
                "styles": {
                    "modulePage": "2",
                    "colorIcon": "#14967C",
                    "colorBg": "#14967C",
                    "moduleTitle": "1",
                    "title": "阳新老王果行",
                    "navTitle": "阳新老王果行",
                    "img": backendPath+"style2/202012131147217710.jpg",
                    "colorWord": "#F8F8F8"
                }
            }
        ],
        "susBtn": [
            {
                "title": "悬浮设置",
                "name": "susBtn",
                "status": "0",
                "styles": {
                    "status": 0,
                    "type": "right",
                    "shifting": 600,
                    "imgUrl": [
                        {
                            "img": backendPath+"style2/202011270940143887.jpg",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "payVip",
                                    "name": "付费会员卡"
                                },
                                "category": "平台首页"
                            }
                        }
                    ]
                }
            }
        ],
        "attention": [
            {
                "title": "关注条",
                "name": "attention",
                "styles": {
                    "status": "1",
                    "img": backendPath+"style2/202011271012006460.png",
                    "text": "点击关注我们哦~下单更方便"
                }
            }
        ],
        "remind": [
            {
                "title": "下单提醒",
                "name": "remind",
                "styles": {
                    "status": "0",
                    "colorWord": "#fff",
                    "colorBg": "#000",
                    "percent": "80",
                    "shifting": "120",
                    "type": "2",
                    "numberList": [
                        {
                            "img": "",
                            "text": "",
                            "time": ""
                        },
                        {
                            "img": "",
                            "text": "",
                            "time": ""
                        }
                    ]
                }
            }
        ],
        "open": [
            {
                "title": "启动页",
                "name": "open",
                "styles": {
                    "status": "1",
                    "type": "2",
                    "colorBg": "#000",
                    "percent": 70,
                    "imgUrl": [
                        {
                            "img": backendPath+"style2/202106221621029966.jpeg",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "payVip",
                                    "name": "付费会员卡"
                                },
                                "category": "平台首页"
                            }
                        }
                    ]
                }
            }
        ],
        "menu": [
            {
                "title": "导航",
                "name": "menu",
                "styles": {
                    "colorSelect": "#101111",
                    "colorUnselect": "#999",
                    "colorLine": "#eee",
                    "colorBg": "#fff",
                    "imgUrl": [
                        {
                            "text": "首页",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "index",
                                    "name": "首页"
                                },
                                "category": "平台首页"
                            },
                            "front": [
                                {
                                    "img": backendPath+"style2/202012131259106665.png"
                                }
                            ],
                            "back": [
                                {
                                    "img": backendPath+"style2/202012131259136546.png"
                                }
                            ]
                        },
                        {
                            "text": "下单",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "goods",
                                    "name": "点单页"
                                },
                                "category": "平台首页"
                            },
                            "front": [
                                {
                                    "img": backendPath+"style2/202012131259324807.png"
                                }
                            ],
                            "back": [
                                {
                                    "img": backendPath+"style2/202012131259288340.png"
                                }
                            ]
                        },
                        {
                            "text": "订单",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "myOrder",
                                    "name": "我的订单"
                                },
                                "category": "平台首页"
                            },
                            "front": [
                                {
                                    "img": backendPath+"style2/202012131259235102.png"
                                }
                            ],
                            "back": [
                                {
                                    "img": backendPath+"style2/202012131259266249.png"
                                }
                            ]
                        },
                        {
                            "text": "我的",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "member",
                                    "name": "个人中心"
                                },
                                "category": "平台首页"
                            },
                            "front": [
                                {
                                    "img": backendPath+"style2/202012131259219729.png"
                                }
                            ],
                            "back": [
                                {
                                    "img": backendPath+"style2/202012131259166095.png"
                                }
                            ]
                        }
                    ]
                }
            }
        ]
    },
    "page": "1",
    "name": "水果店模板"
}
